import SetConfig from './../components/page/SetConfig'
import Img from './../components/page/images/Img'
import PhotesClassify from './../components/page/images/PhotesClassify'
import ThePhotos from './../components/page/images/ThePhotos'
import ThePhoto from './../components/page/images/ThePhoto'
import OpusList from './../components/page/opus/OpusList'
import Opus from './../components/page/opus/Opus'
import SetDir from './../components/page/TheSetDir'
import SetNav from './../components/page/nav/SetNav'
import SortNav from './../components/page/nav/SortNav'
import Tbk from './../components/page/tbk/Tbk'
import Commodity from './../components/page/tbk/Commodity'
import Shake from './../components/page/shake/Shake'

export default [
	{ path: '/config', name: 'config',component: SetConfig ,meta: {keepAlive: false}},
  { path: '/img',name: 'img', component: Img ,meta: {keepAlive: false} },
  { path: '/photosclassify',name: 'photosclassify', component: PhotesClassify,meta: {keepAlive: false} },
  { path: '/photos',name: 'photos', component: ThePhotos,meta: {keepAlive: false} },
  { path: '/photo/:id',name: 'photo', component: ThePhoto,meta: {keepAlive: false} ,props: true},
  { path: '/opuslist',name: 'opuslist', component: OpusList ,meta: {keepAlive: false},
  	children:[
  		{
  			path: 'opus/:id',name: 'opus',component: Opus,meta: {keepAlive: true} ,props: true
  		}
  	]
	},
  { path: '/setnav', name: 'setnav',component: SetNav,meta: {keepAlive: false} },
  { path: '/sortnav', name: 'sortnav',component: SortNav },
  { path: '/dir', name: 'dir',component: SetDir },
  { path: '/tbk', name: 'tbk',component: Tbk,meta: {keepAlive: false} },
  { path: '/commodity', name: 'commodity',component: Commodity,meta: {keepAlive: false} },
  { path: '/shake', name: 'shake',component: Shake,meta: {keepAlive: false} },
]